class BaseAdmin(object):
    def __init__(self):
        self.actions.extend(self.default_actions)
    actions=[]
    default_actions=['delete']
    def delete(self,request,queryset):
        queryset.delete()